export interface RegisterSendVcodeInput {
  phone: string;
}

export interface RegisterInput {
  phone: string;
  vcode: string;
  dkey: string;
}

export type RegisterSendVcodeFn = (input: RegisterSendVcodeInput) => Promise<string>;

export type RegisterFn = (input: RegisterInput) => Promise<void>;

export type RegisterApis = {
  registerSendVcode: RegisterSendVcodeFn;
  register: RegisterFn;
};
